package com.ruoyi.slope.ai.service;

import java.util.List;
import com.ruoyi.slope.ai.domain.SlopeAiAlertRuleConfig;

/**
 * 预警规则配置Service接口
 * 
 * @author ruoyi
 * @date 2025-09-05
 */
public interface ISlopeAiAlertRuleConfigService 
{
    /**
     * 查询预警规则配置
     * 
     * @param ruleId 预警规则配置主键
     * @return 预警规则配置
     */
    public SlopeAiAlertRuleConfig selectSlopeAiAlertRuleConfigByRuleId(String ruleId);

    /**
     * 查询预警规则配置列表
     * 
     * @param slopeAiAlertRuleConfig 预警规则配置
     * @return 预警规则配置集合
     */
    public List<SlopeAiAlertRuleConfig> selectSlopeAiAlertRuleConfigList(SlopeAiAlertRuleConfig slopeAiAlertRuleConfig);

    /**
     * 新增预警规则配置
     * 
     * @param slopeAiAlertRuleConfig 预警规则配置
     * @return 结果
     */
    public int insertSlopeAiAlertRuleConfig(SlopeAiAlertRuleConfig slopeAiAlertRuleConfig);

    /**
     * 修改预警规则配置
     * 
     * @param slopeAiAlertRuleConfig 预警规则配置
     * @return 结果
     */
    public int updateSlopeAiAlertRuleConfig(SlopeAiAlertRuleConfig slopeAiAlertRuleConfig);

    /**
     * 批量删除预警规则配置
     * 
     * @param ruleIds 需要删除的预警规则配置主键集合
     * @return 结果
     */
    public int deleteSlopeAiAlertRuleConfigByRuleIds(String[] ruleIds);

    /**
     * 删除预警规则配置信息
     * 
     * @param ruleId 预警规则配置主键
     * @return 结果
     */
    public int deleteSlopeAiAlertRuleConfigByRuleId(String ruleId);
}
